﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/15 20:42:24
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 元数据实体
    /// </summary>
    [Serializable]
    [DataContract]
    public class RS_Metadata : Entity
    {
        /// <summary>
        /// 获取或设置元数据编号
        /// </summary>
        [DataMember]
        public int Id { get; set; }

        /// <summary>
        /// 获取或设置元数据类型编号
        /// </summary>
        [DataMember]
        public int TypeId { get; set; }

        /// <summary>
        /// 获取或设置元数据名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// 获取或设置关键字
        /// </summary>
        [DataMember]
        public string Keyword { get; set; }

        /// <summary>
        /// 获取或设置有效标志
        /// </summary>
        [DataMember]
        public bool IsValid { get; set; }
    }
}
